.component_checkbox {
  display: inline-block;
  padding: 0;
  height: 25px;
  width: 25px;
  vertical-align: middle;
  position: relative;
}
.component_checkbox input[type="checkbox"], .component_checkbox input[type="radio"] {
    position: absolute;
    inset: 0px;
    opacity: 0;
}
.component_checkbox input[type="checkbox"]:focus ~ span, .component_checkbox input[type="radio"]:focus ~ span {
    border: 2px solid rgba(0, 0, 0, 0.05);
}
.component_checkbox input[type="checkbox"]:focus:checked ~ span, .component_checkbox input[type="radio"]:focus:checked ~ span {
    border: 2px solid rgba(0, 0, 0, 0.05);
}
.component_checkbox input[type="checkbox"]:focus-visible ~ span {
    outline: 2px solid;
}
.component_checkbox input[type="checkbox"]:checked ~ span, .component_checkbox input[type="radio"]:checked ~ span {
    color: white;
    background: var(--primary) url() 50% 40% no-repeat;
    border: 2px solid var(--primary);
}
.component_checkbox span {
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 3px;
    width: 12px;
    height: 12px;
    background-color: rgba(198,200,204,0.3);
    border: 2px solid rgba(198,200,204,0.3);
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.component_checkbox input[type="radio"] + span {
    border-radius: 50%;
}
